@charset "UTF-8";

%formControl {
  .form-control {
    border-radius: 0;
  }
  select.form-control {
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url('');
    background-size: 9px 6px;
    background-position: right center;
    background-origin: content-box;
    background-repeat: no-repeat;
  }
}
select.error,
input.error {
  border-color: #d95c5c;
}

.form-control[disabled] {
  background-color: #fff;
}

span.error {
  display: inline-block;
  position: relative;
  z-index: 10000;
  left: 102%;
  top: -33px;
  padding: 6px 8px;
  background-color: #d95c5c;
  color: #fff;
  border-radius: 4px;
  font-size: 14px;
  min-width: 120px;
  text-align: center;
  &:before {
    display: block;
    position: absolute;
    left: -10px;
    top: 11px;
    content: '';
    @include triangle(10px,#d95c5c,left)
  }
}

.row {
  span.error {
    left: auto;
    top: 24px;
  }
}

span.require {
  font-size:0;
  vertical-align: -3px;
  width: 10px;
  height: 10px;
  &:before {
    content: '*';
    height: 100%;
    width: 100%;
    color: #d95c5c;
    font-size: 14px;
  }
}

span.input-group-addon {
  display: inline-block;
  padding: 0 10px;
}

.input-select-group {
  select.form-control {
    position: relative;
    z-index: 0;
    width: 70px !important;
  }
  input.form-control {
    position: relative;
    z-index: 1;
    margin: 0 -1px;
  }
}